package edu.ptit.jad.exception;

public class AdException extends Exception {

	String mistake;

	public AdException() {
		super();
		mistake = "unknown";
	}

	public AdException(String err) {
		super(err); // call super class constructor
		mistake = err; // save message
	}

	public String getError() {
		return mistake;
	}
}
